package com.ims.entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "scholarship")
public class ScholarShipEntity {
    @Id
    private Integer id;

    @ManyToOne
    @JoinColumn
    private StudentBaseEntity student;

    private String award;
    private String Level;
    private Integer amount;
    private String awardedOn;
    private Integer sum;

    public ScholarShipEntity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public StudentBaseEntity getStudent() {
        return student;
    }

    public void setStudent(StudentBaseEntity student) {
        this.student = student;
    }

    public String getAward() {
        return award;
    }

    public void setAward(String award) {
        this.award = award;
    }

    public String getLevel() {
        return Level;
    }

    public void setLevel(String level) {
        Level = level;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getAwardedOn() {
        return awardedOn;
    }

    public void setAwardedOn(String awardedOn) {
        this.awardedOn = awardedOn;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }
}
